package com.csxy.six.service;

import com.csxy.six.R2;
import com.csxy.six.entity.User;
import org.springframework.web.multipart.MultipartFile;

public interface UserService {
    R2<User> register(User user, MultipartFile avatarFile);
    R2<User> login(String username, String password);
    R2<User> createTeacher(User teacher);
}